﻿@using ExampleWebApplication.Controllers
@using ExampleWebApplication.Models
@using ExampleWebApplication.Properties
<h2>
    @EntityFrameworkStrings.Example12d2:
    Try searching the column ShipRegion by "none" or "empty", is expected to return null values​​.
</h2>
@(Html.Telerik().Grid<OrderModel>().Name("Grid")
        .Columns(columns =>
        {
            columns.Bound(d => d.Id).Width(80);
            columns.Bound(d => d.ShipRegion);
        })
        .EnableCustomBinding(true).Sortable().Filterable().Groupable().Pageable(x => x.PageSize(15))
        .DataBinding(dataBinding => dataBinding.Ajax().Select<EntityFrameworkController>(ctr => ctr.FilteringWithNullAliasesData(null))))